Remove unused <dirent.h>
authorGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 30 Jan 2015 14:10:16 +0000 (15:10 +0100)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 30 Jan 2015 14:27:36 +0000 (15:27 +0100)
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
cfg.mk
src/libotutil/ot-unix-utils.c
src/switchroot/ostree-prepare-root.c

diff --git a/cfg.mk b/cfg.mk
index 186c049c1cd2c18728e1a4c23136736dc738e6ac..d3e18ca3e60508924eb70cbdb0a75d89fd89f8d4 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -20,7 +20,6 @@ local-checks-to-skip = \
     \
     sc_program_name \
     sc_bindtextdomain   \
-    sc_prohibit_dirent_without_use \
     sc_prohibit_empty_lines_at_EOF \
     sc_prohibit_magic_number_exit \
     sc_prohibit_path_max_allocation \
index daa3f0047e4fca7ee6a2cc384ff9f7222c039a1d..2cc375aee83d007885510c974bb32487030bb069 100644 (file)
@@ -34,7 +34,6 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <errno.h>
-#include <dirent.h>
 
 gboolean
 ot_util_filename_validate (const char *name,
index f49f2592e8132ba7f822288d31558881f03ba2e0..a73384646aa9cb0f717fef2490522b2410288e94 100644 (file)
@@ -41,7 +41,6 @@
 #include <string.h>
 #include <errno.h>
 #include <ctype.h>
-#include <dirent.h>
 
 #include "ostree-mount-util.h"